home *** CD-ROM | disk | FTP | other *** search
- <?php
-
- $server = "db04.puretec.de";
- $db = "db24905524";
- $login = "p343302";
- $pass = "90f42902";
-
- $dbwww = mysql_connect($server,$login,$pass);
- mysql_select_db($db,$dbwww);
-
- if($short_name=="")
- $error = "Eine Abkürzung muss mindestens eingegeben werden!";
-
- $query = "update amigaplusnews_authors set short_name = '$short_name', full_name = '$full_name' where id = $id";
- //echo mysql_errno().": ".mysql_error()."<br>";
-
- if(!$error)
- {
- mysql_query($query,$dbwww);
- header("Location: index.php");
- }
- ?>
- <html>
- <head><title>Fehler</title></head>
- <body bgcolor="#66CCFF" text="#000000">
- <?php echo $error ?><br>(Weiter mit dem Back-Button des Browsers)
- </body>
- </html>
-